package com.yinhai.model;

import android.text.SpannableString;

public class ChatMsgEntity{
	private static final String TAG = ChatMsgEntity.class.getSimpleName();

	private int id;

	private String name;

	private String date;

	private String text;

	private boolean isComMeg = true;

	private SpannableString spStr;

	private String type;// 1是文字，2是图片3是语音4定位

	private String fileName;// 当是语音的时候语音文件的路径

	public String sendUserId;// 发送者ID

	public String recId;// 接受者ID

	public String uuid;

	public String isreceipt; // 是否送达

	private Long guid;// IM 消息id
	private MsgModel msgModel;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public SpannableString getSpStr() {
		return spStr;
	}

	public void setSpStr(SpannableString spStr) {
		this.spStr = spStr;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean getMsgType() {
		return isComMeg;
	}

	public void setMsgType(boolean isComMsg) {
		isComMeg = isComMsg;
	}

	public Long getGuid() {
		return guid;
	}

	public void setGuid(Long guid) {
		this.guid = guid;
	}

	public boolean isComMeg() {
		return isComMeg;
	}

	public void setComMeg(boolean isComMeg) {
		this.isComMeg = isComMeg;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public static String getTag() {
		return TAG;
	}

	public String getSendUserId() {
		return sendUserId;
	}

	public void setSendUserId(String sendUserId) {
		this.sendUserId = sendUserId;
	}

	public String getRecId() {
		return recId;
	}

	public void setRecId(String recId) {
		this.recId = recId;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getIsreceipt() {
		return isreceipt;
	}

	public void setIsreceipt(String isreceipt) {
		this.isreceipt = isreceipt;
	}

	public MsgModel getMsgModel() {
		return msgModel;
	}

	public void setMsgModel(MsgModel msgModel) {
		this.msgModel = msgModel;
	}

}
